<?php
namespace Cyfy\Modules\Menu;

class Setup extends \Cyfy\ModuleSetup
{
	static function install()
    {
        $values = array(
            'name' => 'Navigation',
            'code' => 'navigation'
        );
        \dibi :: query("INSERT INTO [:cyfy:Menu-menus] %v", $values);
        
        \Cyfy\Modules\Menu\Menu :: addItem('Home', 'index', 1);
        \Cyfy\Modules\Menu\Menu :: addItem('User login', 'user/login', 1);
        \Cyfy\Modules\Menu\Menu :: addItem('Administration', 'administration', 1);
    }
}